package com.jz.pay.factories.tmp;

import com.jz.pay.factories.dto.BornDTO;
import com.jz.pay.factories.dto.WrapperDTO;

public class BornProcess extends OnethingProcess{
    @Override
    public boolean isCurrent(WrapperDTO dto) {
        return dto != null && dto instanceof BornDTO;
    }

    @Override
    void process(WrapperDTO dto) {
        System.out.println("出生一件事处理中..");
    }
}
